<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'kit-news-article-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'keyword'); ?>
		<?php echo $form->textArea($model,'keyword',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'keyword'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cat_id'); ?>
		<?php echo $form->textField($model,'cat_id'); ?>
		<?php echo $form->error($model,'cat_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'effecttime'); ?>
		<?php echo $form->textField($model,'effecttime'); ?>
		<?php echo $form->error($model,'effecttime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'expiredtime'); ?>
		<?php echo $form->textField($model,'expiredtime'); ?>
		<?php echo $form->error($model,'expiredtime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'images'); ?>
		<?php echo $form->textField($model,'images',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'images'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'article_gallery'); ?>
		<?php echo $form->textArea($model,'article_gallery',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'article_gallery'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'article_desc'); ?>
		<?php echo $form->textArea($model,'article_desc',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'article_desc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'article_content'); ?>
		<?php echo $form->textArea($model,'article_content',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'article_content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'countview'); ?>
		<?php echo $form->textField($model,'countview'); ?>
		<?php echo $form->error($model,'countview'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'focus'); ?>
		<?php echo $form->textField($model,'focus'); ?>
		<?php echo $form->error($model,'focus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'itemorder'); ?>
		<?php echo $form->textField($model,'itemorder'); ?>
		<?php echo $form->error($model,'itemorder'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'creator'); ?>
		<?php echo $form->textField($model,'creator'); ?>
		<?php echo $form->error($model,'creator'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'created'); ?>
		<?php echo $form->textField($model,'created'); ?>
		<?php echo $form->error($model,'created'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'editor'); ?>
		<?php echo $form->textField($model,'editor'); ?>
		<?php echo $form->error($model,'editor'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'edited'); ?>
		<?php echo $form->textField($model,'edited'); ?>
		<?php echo $form->error($model,'edited'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'active'); ?>
		<?php echo $form->textField($model,'active'); ?>
		<?php echo $form->error($model,'active'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'recycle'); ?>
		<?php echo $form->textField($model,'recycle'); ?>
		<?php echo $form->error($model,'recycle'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->